package com.heihx.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
@Schema(description = "分页请求菜品时传递的数据模型")
@Data
public class DishPageQueryDTO implements Serializable {

    @Schema(description = "当前页数")
    private int page;

    @Schema(description = "页面大小")
    private int pageSize;

    @Schema(description = "菜品名称")
    private String name;

    //分类id
    @Schema(description = "分类id")
    private Integer categoryId;

    //状态 0表示禁用 1表示启用
    @Schema(description = "菜品状态")
    private Integer status;

}
